package com.iqiyi.pps.epg.core.utils;

import com.alibaba.fastjson.JSON;
import com.alibaba.fastjson.JSONObject;

/**
 * Created by karkarrotxu on 2017/12/25.
 */
public final class ApiOAUtil {

    public static final String queryOAList = "http://10.10.10.59:8081/OADEV-5/api/live/getLiveDetailsForEpg";
    private ApiOAUtil(){}
    public static void getOAList(String domainUser,String queryParam){
        JSONObject jsonObject = new JSONObject();
        jsonObject .put("domainUser",domainUser);
        jsonObject .put("queryParam",queryParam);
        JSONObject jsonObject1 =   ApiHttpRequestUtil.doPostRaw(queryOAList,jsonObject.toJSONString() );
        System.out.print(jsonObject1.toJSONString());
      //  return jsonObject1;
    }

    public static void main(String[] args){
        getOAList("yuxiaolan_wb","ZB-18030516339290");
    }

}
